<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .container {
            width: 600px;
            height: 150px;
            display: grid;
            grid-template-columns: repeat(10, 1fr);
            grid-template-rows: repeat(2, 1fr);
            grid-template-areas:
                    "div1 div2 div3 div3 div3 div3"
                    "div1 div2 div4 div5 div6 div7";
            {#gap: 1px;#}
        }

        .container .item {
            border: 1px solid;
            {#text-align: center;#}
            font-size: 20px;
            display: flex;
            align-items: center; /* 垂直居中 */
            justify-content: center; /* 水平居中 */
        }
        .container .item:nth-child(1) {
            grid-area: div1;
            background: antiquewhite;
        }
        .container .item:nth-child(2) {
            grid-area: div2;
            background: darkturquoise;
        }
        .container .item:nth-child(3) {
            grid-area: div3;
            background: peru;
        }
        .container .item:nth-child(4) {
            grid-area: div4;
            background: fuchsia;
        }
        .container .item:nth-child(5) {
            grid-area: div5;
            background: cornflowerblue;
        }
        .container .item:nth-child(6) {
            grid-area: div6;
            background: chartreuse;
        }
        .container .item:nth-child(7) {
            grid-area: div7;
            background: seagreen;
        }
        /*
        .container .item1 {
            grid-area: div1;
            background: antiquewhite;
        }
        .container .item2 {
            grid-area: div2;
            background: darkturquoise;
        }
        .container .item3 {
            grid-area: div3;
            background: peru;
        }
        .container .item4 {
            grid-area: div4;
            background: fuchsia;
        }*/
    </style>
</head>
<body>
    <div class="container">
        <div class="item item1">品番</div>
        <div class="item item2">总计</div>
        <div class="item item3">一季度</div>
        <div class="item item4">合计</div>
        <div class="item item5">1月</div>
        <div class="item item6">2月</div>
        <div class="item item7">3月</div>
    </div>
</body>
</html>

<script>
</script>